package com.company.project.service;
import com.company.project.core.Result;
import com.company.project.model.Cart;
import com.company.project.model.Food;
import com.company.project.core.Service;
import com.company.project.model.request.QueryParams;


/**
 * Created by CodeGenerator on 2020/04/21.
 */
public interface FoodService extends Service<Food> {

    Result delCartFood(Cart cart);

    Result list(QueryParams queryParams);

    void deleteOne(Food food);

    Result updateFood(Food food);

    Result add(Food food);
}
